import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:x_core/util/image_utils.dart';
import 'package:x_project/common/config.dart';
import 'package:x_project/res/colors.dart';

/// Created by XieXin on 2020/12/25.
/// 研发中小部件
class InDevelopmentWidget extends StatelessWidget {
  const InDevelopmentWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SizedBox(
        width: double.infinity,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Container(
              height: 400.w,
              width: 400.w,
              decoration: BoxDecoration(
                image: DecorationImage(
                  image: ImageUtils.getAssetImageProvider(
                    'ic_build',
                    moduleName: Config.getModuleName(),
                  ),
                ),
              ),
            ),
            SizedBox(height: 40.h),
            Text(
              "研发中，敬请期待!",
              style: TextStyle(
                color: XColors.textColor66,
                fontSize: ScreenUtil().setSp(40),
                fontWeight: FontWeight.w500,
              ),
            ),
            SizedBox(height: 120.h),
          ],
        ),
      ),
    );
  }
}
